package com.haoze.nurseapp.service;

import com.haoze.common.response.Result;

import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import java.util.List;
import java.util.Map;

public interface NursePatientOrderService {

    /**
     * 文件状态
     */
    String ELEMENT_TYPE_THREE="3";//日期类型
    /**
     * 单选类型
     */
    String TYPE_SIGNLE_SELECTION = "6";

    /**
     * 多选类型
     */
    String TYPE_MULTIPLE_SELECTION = "7";
    String SPECIAL_SPLITER = "\\$€\\$€\\$";

    ScriptEngine jse = new ScriptEngineManager().getEngineByName("JavaScript");

    Result createNextTaskNode(String currentTaskExecuteDetailId, long batchNo, String userId, String groupId, String msgContent, String executeBeginTime, String orderQrCode,String stopFlag);//, Boolean sendMsgFlag

    void createNextTaskNodeList(List<Map<String, Object>> taskExecuteDetailEntityMap, String msgContent);
}
